ROTATE LISTENER

This command will set the direction of the listener.

  Syntax
ROTATE LISTENER X,Y,Z
  Parameters
X
Float
The x position
Y
Float
The y position
Z
Float
The z position

  Returns

This command does not return a value.

  Description

The 3D sounds being played would sound different based on which direction the listener was facing.

  Example Code
cls
load sound "man.wav",1
play sound 1
rotate listener 100,100,500
wait 1000*8
rotate listener 100,100,-500
wait 1000*8
stop sound 1
do
loop
end
  See also

SOUND Commands Menu
Index